package ooday01.homework;

public class ExtendsTest {
    public static void main(String[] args) {
        Student zs = new Student("张三",16,"上海","1201","stu2025");
        zs.eat();
        zs.sleep();
        zs.sayHi();
        zs.study();

        Teacher ls = new Teacher("李四",18,"北京",6666.66);
        ls.eat();
        ls.sleep();
        ls.sayHi();
        ls.teach();

        Doctor ww = new Doctor("王五",25,"天津","主任医师");
        ww.eat();
        ww.sleep();
        ww.sayHi();
        ww.cut();

    }
}
